From a6be6177a3cdd38e46c4a9c8ef6fbaea0c9065f0 Mon Sep 17 00:00:00 2001 From: "djm@kirby.fc.hp.com" Date: Fri, 13 Jan 2006 10:24:19 -0600 Subject: [PATCH] Unused page struct fields commented out. Signed-off-by: Tristan Gingold --- xen/arch/ia64/xen/mm_init.c | 2 ++ xen/include/asm-ia64/mm.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/xen/arch/ia64/xen/mm_init.c b/xen/arch/ia64/xen/mm_init.c index 8b4947f8f6..a6f5196884 100644 --- a/xen/arch/ia64/xen/mm_init.c +++ b/xen/arch/ia64/xen/mm_init.c @@ -502,6 +502,7 @@ find_largest_hole (u64 start, u64 end, void *arg) } #endif /* CONFIG_VIRTUAL_MEM_MAP */ +#ifndef XEN static int count_reserved_pages (u64 start, u64 end, void *arg) { @@ -514,6 +515,7 @@ count_reserved_pages (u64 start, u64 end, void *arg) *count += num_reserved; return 0; } +#endif /* * Boot command-line option "nolwsys" can be used to disable the use of any light-weight diff --git a/xen/include/asm-ia64/mm.h b/xen/include/asm-ia64/mm.h index e38ba4f149..d24ad0702a 100644 --- a/xen/include/asm-ia64/mm.h +++ b/xen/include/asm-ia64/mm.h @@ -67,10 +67,12 @@ struct page } free; } u; +#if 0 // following added for Linux compiling page_flags_t flags; atomic_t _count; struct list_head lru; // is this the same as above "list"? +#endif }; #define set_page_count(p,v) atomic_set(&(p)->_count, v - 1) -- 2.30.2